package com.ruoyi.visitRecord.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 访问记录对象 jy_visit_record
 *
 * @author ruoyi
 * @date 2022-02-07
 */
@ApiModel
public class VisitRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 用户主键 */
    @Excel(name = "用户主键")
    @ApiModelProperty(value = "用户主键")
    private Long memberId;

    /** 商户主键 */
    @Excel(name = "商户主键")
    @ApiModelProperty(value = "商户主键")
    private Long storeId;

    /** 年 */
    @Excel(name = "年")
    @ApiModelProperty(value = "年")
    private String timeY;

    /** 月 */
    @Excel(name = "月")
    @ApiModelProperty(value = "月")
    private String timeMo;

    /** 日 */
    @Excel(name = "日")
    @ApiModelProperty(value = "日")
    private String timeD;

    /** 时 */
    @Excel(name = "时")
    @ApiModelProperty(value = "时")
    private String timeH;

    /** 分 */
    @Excel(name = "分")
    @ApiModelProperty(value = "分")
    private String timeM;

    /** 行政区划编码 */
    @Excel(name = "行政区划编码")
    @ApiModelProperty(value = "行政区划编码")
    private String adCode;

    /** 行政区划名称 */
    @Excel(name = "行政区划名称")
    @ApiModelProperty(value = "行政区划名称")
    private String adName;

    /** 省名称 */
    @Excel(name = "省名称")
    @ApiModelProperty(value = "省名称")
    private String provinceName;

    /** 省编码 */
    @Excel(name = "省编码")
    @ApiModelProperty(value = "省编码")
    private String provinceCode;

    /** 市名称 */
    @Excel(name = "市名称")
    @ApiModelProperty(value = "市名称")
    private String cityName;

    /** 市编码 */
    @Excel(name = "市编码")
    @ApiModelProperty(value = "市编码")
    private String cityCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setTimeY(String timeY)
    {
        this.timeY = timeY;
    }

    public String getTimeY()
    {
        return timeY;
    }
    public void setTimeMo(String timeMo)
    {
        this.timeMo = timeMo;
    }

    public String getTimeMo()
    {
        return timeMo;
    }
    public void setTimeD(String timeD)
    {
        this.timeD = timeD;
    }

    public String getTimeD()
    {
        return timeD;
    }
    public void setTimeH(String timeH)
    {
        this.timeH = timeH;
    }

    public String getTimeH()
    {
        return timeH;
    }
    public void setTimeM(String timeM)
    {
        this.timeM = timeM;
    }

    public String getTimeM()
    {
        return timeM;
    }
    public void setAdCode(String adCode)
    {
        this.adCode = adCode;
    }

    public String getAdCode()
    {
        return adCode;
    }
    public void setAdName(String adName)
    {
        this.adName = adName;
    }

    public String getAdName()
    {
        return adName;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("storeId", getStoreId())
            .append("timeY", getTimeY())
            .append("timeMo", getTimeMo())
            .append("timeD", getTimeD())
            .append("timeH", getTimeH())
            .append("timeM", getTimeM())
            .append("adCode", getAdCode())
            .append("adName", getAdName())
            .append("provinceName", getProvinceName())
            .append("provinceCode", getProvinceCode())
            .append("cityName", getCityName())
            .append("cityCode", getCityCode())
            .append("createTime", getCreateTime())
            .toString();
    }
}
